<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Borrowed Book</title>

</head>
<body>
<jsp:include page="usermenu.jsp" /> 
<br>
<br>
<br>
<h2> Số sách đang mượn: ${nobook} </h2>
<h2> ${notification }</h2>
<h2> Sách Đang mượn </h2>
<table width="80%" border="1" align="center">
  <tr>
    <td width="15%"><div align="center">Tên sách</div></td>
    <td width="26%"><div align="center">Tác giả</div></td>
    <td width="21%"><div align="center">NXB</div></td>
    <td width="38%"><div align="center">Giới thiệu</div></td>
  </tr>
 <c:forEach var="element" items="${borrowedBook}">
   <tr>
     <td width="15%"><div align="center">${element.title} </div></td>
    <td width="26%"><div align="center">${element.author}</div></td>
   	<td width="21%"><div align="center">${element.publisher}</div></td>
    <td width="38%"><div align="center">${element.description}</div></td>
   </tr>
</c:forEach>
</table>
</body>
</html>